/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package business;

import data.HistoricoData;
/**
 *
 * @author Mário
 */
import java.util.ArrayList;
import java.util.GregorianCalendar;
import java.sql.SQLException;

public class Historicos {

    HistoricoData data;

    public Historicos() {
        data = new HistoricoData();
    }

    public ArrayList<Historico> historicoCliente(int codCliente) throws SQLException {
        ArrayList<Historico> hist;
        hist=data.consultarHistoricoCliente(codCliente);
        return hist;

    }

}
